//
//  SubscribeViewController.m
//  homeland
//
//  Created by rain on 14-5-26.
//  Copyright (c) 2014年 xzysun. All rights reserved.
//

#import "SubscribeViewController.h"
#import "TravelViewController.h"

@interface SubscribeViewController ()

@end

@implementation SubscribeViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = YES;

}

- (IBAction)TravelViewControll:(id)sender
{
    NSDictionary *vcConfig = [NSDictionary dictionaryWithObjectsAndKeys:@"海珠湿地专题",@"key",nil];

    TravelViewController *vc = [[TravelViewController alloc] init];
    vc.config = vcConfig;
    vc.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
